package com.mepo.cheer.shared;

import com.google.gwt.user.client.Command;
import com.mepo.cheer.client.MepoCheerTempate;
import com.mepo.cheer.client.pages.SquadPage;

public class Squad extends MepoMenuType {

	private static final long serialVersionUID = 1L;
	private String header;
	private String imageLocation;
	private String imageDesc;
	
	public String getHeader() {
		return header;
	}
	public void setHeader(String header) {
		this.header = header;
	}
	public String getImageLocation() {
		return imageLocation;
	}
	public void setImageLocation(String imageLocation) {
		this.imageLocation = imageLocation;
	}
	public String getImageDesc() {
		return imageDesc;
	}
	public void setImageDesc(String imageDesc) {
		this.imageDesc = imageDesc;
	}
	
	@Override
	public Command getOnClickCommand() {
		return new Command() {
			@Override
			public void execute() {
				MepoCheerTempate.setContent(new SquadPage(Squad.this));
			}
		};
	}
	
}
